package cn.zn.modules.appoin.entity;

import cn.zn.framework.common.abs.AbsOldMainEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "at_rule")
public class AtRule extends AbsOldMainEntity {

    /**
     * 工作时间间隔
     */
    @TableField(value = "INTERVAL_")
    private Integer interval;

    @TableField(value = "IS_AUTO_")
    private Boolean isAuto;

    @TableField(value = "USER_CODE_")
    private String userCode;
}